<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<!--session信息-->
<c:set var="id" value="${admin.id}"/>
<c:set var="nickname" value="${admin.nickname}"/>
<c:set var="phone" value="${admin.phone}"/>
<c:set var="username" value="${admin.username}"/>
<c:set var="userFace" value="${admin.userFace}"/>

<!--path 信息-->
<c:set var="ctx" value="${pageContext.request.contextPath}" scope="application"/>
<c:set var="ctxStatic" value="${pageContext.request.contextPath}/static" scope="application"/>
<c:set var="contextPath" value="${pageContext.request.contextPath}" scope="application"/>
<c:set var="imgPath" value="https://file.yixiaoy.cn/img" scope="application"/>



<script>
    var ctx = "${ctx}"; //
    var ctxStatic = "${ctxStatic}";
    var username = "${username}";
    var nickname = "${nickname}";
    var userId = "${id}";
    var phone = "${phone}";
    var userFace="${userFace}";

    var imgPath = "${imgPath}";

</script>
